import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { AgGridModule } from 'ag-grid-angular/main';
import { AngularEchartsModule } from 'ngx-echarts';
import { SbcmaterialModule } from '../sbcmaterial/sbcmaterial.module';
import { AggridNavCellComponent } from './aggrid-nav-cell/aggrid-nav-cell.component';
import { TrainDataTableComponent } from './train-data-table/train-data-table.component';
import { TrainChartComponent } from './train-chart/train-chart.component';
import { ErrorDialogComponent } from './error-dialog/error-dialog.component';

@NgModule({
  imports: [
    CommonModule,
    AgGridModule.withComponents([]),
    AngularEchartsModule,
    SbcmaterialModule
  ],
  declarations: [
    AggridNavCellComponent,
    TrainDataTableComponent,
    TrainChartComponent,
    ErrorDialogComponent
  ],
  entryComponents: [
    ErrorDialogComponent
  ],
  exports: [
    AggridNavCellComponent,
    TrainDataTableComponent,
    TrainChartComponent
  ]
})
export class SharedModule { }
